<?php
$name=$_GET['name'];
$pwd=$_GET['password'];
if ($name=="andy" && $pwd=="cat")
   echo "OK";
else if ($name=="paul" && $pwd=="panda")
   echo "OK ";
else if ($name=="jacky" && $pwd=="doctor")
   echo "OK";
else if ($name=="peter" && $pwd=="a1 b")
   echo "OK";
else
   echo "invalid";
?>
